[paket]
tanim   = CD/DVD/BluRay komut satırı kayıt uygulaması
paketci = milisarge
grup    = sistem
url     = http://cdrtools.sourceforge.net/private/cdrecord.html
arsiv   = ${isim}-${surum%a*}

[gerek]
derleme = e2fsprogs
calisma =

[kaynak]
1       = ${SOURCEFORGE_SITE}/${isim}/${isim}-${surum}.tar.bz2

[sha256]
1       = aa28438f458ef3f314b79f2029db27679dae1d5ffe1569b6de57742511915e81

[derle]
bayrak  = 0
betik   = sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux
betik   = sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux
betik   = sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
betik   = export GMAKE_NOWARN=true
betik   = make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS"

[pakur]
betik   = export GMAKE_NOWARN=true
betik   = make INS_BASE=/usr INS_RBASE=/ DESTDIR=$PKG install
betik   = rm -rf $PKG/usr/include
betik   = rm -rf $PKG/usr/lib/{*.a,profiled}
betik   = rm -rf $PKG/usr/share/man/man3
betik   = install -d -m755 $PKG/usr/lib/modules-load.d/
betik   = echo sg > $PKG/usr/lib/modules-load.d/cdrecord.conf
betik   = cd $PKG/usr/bin
betik   = ln -s cdrecord wodim
betik   = ln -s readcd readom
betik   = ln -s mkisofs genisoimage
betik   = ln -s cdda2wav icedax
